<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" th:with="title='信访',active='visit'">
<header th:replace="comm/header::headerFragment(${title},${active})"></header>
<link th:href="@{/admin/plugins/tagsinput/jquery.tagsinput.css}" rel="stylesheet"/>
<link th:href="@{/admin/plugins/select2.dist.css/select2-bootstrap.css}" rel="stylesheet"/>
<link th:href="@{/admin/plugins/toggles/toggles.css}" rel="stylesheet"/>

<link href="//cdn.bootcss.com/multi-select/0.9.12/css/multi-select.css" rel="stylesheet"/>
<link href="//cdn.bootcss.com/select2/3.4.8/select2.min.css" rel="stylesheet"/>
<link th:href="@{/admin/plugins/md/css/style.css}" rel="stylesheet"/>
<link rel="stylesheet" th:href="@{/plugins/kkpager/kkpager_blue.css}">
<!-- editor.md -->
<style>
    #tags_tagsinput {
        background-color: #fafafa;
        border: 1px solid #eeeeee;
    }

    #tags_addTag input {
        width: 100%;
    }

    #tags_addTag {
        margin-top: -5px;
    }
</style>
<body class="fixed-left">
<div id="wrapper">
    <div th:replace="comm/header::header-body"></div>
    <div class="content-page">
        <div class="content">
            <div class="container">
            <h4 class="page-title"><a th:href="@{/visit/index}">信访</a>->信访件</h4>
                <div class="row">
                    <div class="col-sm-12">
                    <form class="form-inline search pull-left" >
                     <div class="form-group">
                     <select id="schedule_select" name="schedule"  class="form-control" >
                      <option value="" th:text="全部 "></option>
                          <th:block th:each="c : ${T(com.mjh.zhujianju.enums.SupervisionScheduleEnum).getEnums()}">
                             <option th:value="${c.code}" th:text="${c.name}" ></option>
                         </th:block>
                     </select>
                     </div>
                        <div class="form-group">
                        <input placeholder="关键字" class="form-control" id="title" style="width: 300px;">
                            <button type="button"  onclick="getList()" class="btn btn-default">搜索</button>
                        </div>
                      </form>
                        <div class="text-right">
                         <a  th:href="@{/visit/letter/create}" class="btn btn-success waves-effect waves-light ">
                                   	 	新增
                         </a>
                         </div>
                    </div>
                    <div class="col-md-12">
                        <table class="table table-striped table-bordered">
                            <thead>
                            <tr>
                                <th width="25%">信件标题</th>
                                <th width="5%" >附件</th>
                                <th width="15%" >发送时间</th>
                                <th width="5%" >状态</th>
                                <th width="5%" >评价</th>
                                <th class="text-center" width="10%">操作</th>
                            </tr>
                            </thead>
                            <tbody id="list_result">

                            </tbody>
                        </table>
                        <!-- 分页 -->
						<div id="kkpager"></div>
                    </div>
                </div>
                <div th:replace="comm/footer :: footer-content"></div>
            </div>
        </div>
    </div>
</div>
<div th:replace="comm/footer :: footer"></div>
<script type="text/javascript">
</script>
<script th:src="@{/admin/plugins/tagsinput/jquery.tagsinput.min.js}"></script>
<script th:src="@{/admin/plugins/jquery-multi-select/jquery.quicksearch.js}"></script>


<script th:src="@{//cdn.bootcss.com/multi-select/0.9.12/js/jquery.multi-select.min.js}"></script>
<script th:src="@{//cdn.bootcss.com/select2/3.4.8/select2.min.js}"></script>
<script th:src="@{//cdn.bootcss.com/jquery-toggles/2.0.4/toggles.min.js}"></script>
<script th:src="@{/plugins/kkpager/kkpager.min.js}"></script>
<script th:src="@{/js/visit/letter/list.js}"></script>
<script type="text/javascript">
    /*<![CDATA[*/
    var tale = new $.tale();
    /*]]>*/
</script>
</body>
</html>